package com.yc.bran.snack.enums;

public enum ResultEnmu {
	ERROR(500, "错误"),
	SUCCESS(200, "成功"),
	DATA_NULL(600, "暂无数据"),
	CODE_ERROR(510, "验证码错误"),
	CODE_TIMEOUT(511, "验证码过期"),
	CHECK_ERROR(520, "数据验证错误"),
	LOGIN_ERROE(530, "未登录");
	
	private Integer code;
	private String msg;
	
	private ResultEnmu() {
	}

	private ResultEnmu(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}


	public Integer getCode() {
		return code;
	}


	public void setCode(Integer code) {
		this.code = code;
	}


	public String getMsg() {
		return msg;
	}


	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
	
}
